package finman.database;

class Contract {
	private String number;
	//------ data -------
	private Organization organization;	
	private Valuta valuta;
	private Long money;
 	private String subject;

    Contract(String number, Organization organization, Valuta valuta, Long money, String subject) {
        this.number = number;
        this.organization = organization;
        this.valuta = valuta;
        this.money = money;
        this.subject = subject;
    }
	////////////////////// ACCESSORS \\\\\\\\\\\\\\\\\\\\\\\\\\

    public String getNumber() {
        return number;
    }

    public Organization getOrganization() {
        return organization;
    }

    public Valuta getValuta() {
        return valuta;
    }

    public Long getMoney() {
        return money;
    }

    public String getSubject() {
        return subject;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setOrganization(Organization organization) {
        this.organization = organization;
    }

    public void setValuta(Valuta valuta) {
        this.valuta = valuta;
    }

    public void setMoney(Long money) {
        this.money = money;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }
}